import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import './assets/css/reset.css';
import 'element-ui/lib/theme-chalk/index.css';
import elementui from 'element-ui';
// import image from './util/image/index'

// 请求
import axios from 'axios';
Vue.prototype.$axios = axios;
import as from '@/service/index'
Vue.prototype.$as = as;
// 常用工具
import util from './util/index'
Vue.prototype.$util = util
// 全局插件
import image from './plugin/image/index'
Vue.prototype.$image = image.install;

// console.log(Vue.prototype);

Vue.use(elementui);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  as,
  render: h => h(App)
}).$mount('#app')
